﻿<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>修改热门搜索词</title>
<script src="/js/jquery.js" type="text/javascript"></script>
<script src="/js/jspublic.js" type="text/javascript"></script>
<script src="js/easyui/jquery.easyui.js" type="text/javascript"></script>
<script src="js/easyui/locale/easyui-lang-zh_CN.js" type="text/javascript"></script>
<link href="style/right.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">

	$(function(){
		
		if (window.frameElement == null) self.location = '/manage';
	
	});
	
	function checkForm()
	{
		if(document.form1.h_title.value==null || document.form1.h_title.value=="")
		{
			alert("搜索词不能为空");
			return false;
		}
		return true;
	}
	
</script>
</head>

<body>
<div class="zs_content">

	<div class="zs_quota">
		<h4>修改热门搜索词</h4>
	</div>
	
	<div class="zs_sys">
		{liebiao:B_hotKeyword^0^h_number desc,h_id desc^h_id=[id]}
		<form action="admin_update.aspx?T=b_hotKeyword&id=[id]" method="post" id="form1" name="form1" onsubmit="return checkForm();">
		<ul>
			<li>
				<label>热词：</label>
				<div class="controls">
					<input type="text" name="h_title" type="text" value="{h_title}" maxlength="50" id="ModuleDir" />
				</div>
			</li>
			<li>
				<label>次数：</label>
				<div class="controls">
					<input type="text" name="h_number" type="text" value="{h_number}" maxlength="50" />
				</div>
			</li>
			<li class="act">
				<label></label>
				<div class="controls">
					<input type="submit" id="Submit" name="Submit" value="更新" class="btn btn-primary" />
					<input type="button" name="back" value="返回" class="btn btn-primary" onclick="javascript:window.history.go(-1);" />
				</div>
			</li>
		</ul>
		</form>
		{/liebiao}
	</div>
	
</body>
</html>
